<!DOCTYPE html>
<%@ page language="java" contentType="text/html; charset=utf-8"%>
<%-- 引入公共的配置jsp页面 --%>
<%@ include file="/common/jsp/header.jsp"%>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>事件列表页面</title>
    <script src="js/event_alerts.js"></script>
    <script type="text/javascript">
    </script>
</head>
<body>
<div class="content">
    <div class="control-title">
        <div class="title_left">
            <span>
                <svg class="icon" aria-hidden="true">
                    <use xlink:href="#icon-biaoti"></use>
                </svg>
            </span>
            事件基本信息
        </div>
    </div>
    <div class="bombBox_condition">
        <div class="moreGroup">
            <div class="form-group">
                <label class="col-sm-3 control-label">事件分类</label>
                <div class="col-sm-9">
                    ${event.eventSort}
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">事件分级</label>
                <div class="col-sm-9">
                    ${event.eventType}
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">威胁级别</label>
                <div class="col-sm-9">
                    ${event.threatLevelStr}
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">处理部门</label>
                <div class="col-sm-9">
                    ${event.eventDeptName}
                </div>
            </div>
        </div>
    </div>
    <div class="control-title">
        <div class="title_left">
            <span>
                <svg class="icon" aria-hidden="true">
                    <use xlink:href="#icon-biaoti"></use>
                </svg>
            </span>
            告警信息列表
        </div>
    </div>
    <div class="bombBox_condition">
        <div class="content_table">
            <table id="alertTable" class="table table-striped table-bordered table-hover table-ellipsis">
                <thead>
                <tr>
                    <th style="display: none;"></th>
                    <th>告警名称</th>
                    <th>告警时间</th>
                    <th>告警类型</th>
                    <th>告警级别</th>
                </tr>
                </thead>
                <tbody>
                <c:forEach items="${alertList}" var="alert">
                    <tr>
                        <td style="display: none;">${alert.alertSid}</td>
                        <td>${alert.tempAlertName}</td>
                        <td>${alert.triggerTimeStr}</td>
                        <td>${alert.alertType}</td>
                        <td>${alert.alertLevelInfo}</td>
                    </tr>
                </c:forEach>
                </tbody>
            </table>
        </div>
    </div>
</div>
</body>
</html>

